//
//  MCHomeSlideView.h
//  XTXOneToOne
//
//  Created by Canny on 2018/10/29.
//  Copyright © 2018年 WK. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeUSDTCollectionViewCell.h"
#import "HomeBTCCollectionViewCell.h"
#import "HomeETHCollectionViewCell.h"

NS_ASSUME_NONNULL_BEGIN
@protocol MCSlideDelegate <NSObject>

@required



@end

typedef void (^MCHomeSlideViewBlock) (HomeBaseTabCellModel * model);


@interface MCHomeSlideView : UIView

@property(nonatomic,strong)UICollectionView *collectionView;

@property(nonatomic,strong)NSArray *titleArray;

@property(nonatomic,strong)NSArray *selectedTitleArray;

@property(nonatomic,strong)UIColor *normalColor;

@property(nonatomic,strong)UIColor *selectedColor;

@property(nonatomic,strong)UIColor *SlideSelectedColor;

+(MCHomeSlideView *)segmentControlViewWithFrame:(CGRect)frame;

-(void)btnTouch:(UIButton *)sender;

@property (nonatomic, weak) id<MCSlideDelegate>delegate;

@property (nonatomic, weak)HomeUSDTCollectionViewCell *home_USDTCell;
@property (nonatomic, weak)HomeBTCCollectionViewCell *home_BTCCell;
@property (nonatomic, weak)HomeETHCollectionViewCell *home_ETHCell;

@property (nonatomic,copy)MCHomeSlideViewBlock block;


@end

NS_ASSUME_NONNULL_END
